package com.qf.fallback;/*
 *保护你的大熊
 *2021/12/21
 *16:47
 */

import com.qf.feign.GoodsFeign;
import com.qf.pojo.Goods;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@RequestMapping("/fallback")
public class GoodsFallback implements GoodsFeign {
    @Override
    public String index() {
        return "goods模块太贪玩，跑丢了！！！";
    }

    @Override
    public Goods findById(Integer id) {
        return null;
    }

    @Override
    public Goods findById2(Integer id) {
        return null;
    }

    @Override
    public String save(Goods goods) {
        return null;
    }
}
